pp108 : Operation Types

Operation Types

This topic describes the different types of operations used in a .


Operation type defines the actions that can be carried out on Message Map assignments. The following table describes the operation types supported by Process Platform. Each operation can be performed with certain parameters. The parameters are discussed separately.

Operation Type

Description

Add

The Add operation inserts the source element (either simple or complex) into the target element with already existing children of the target element and forms a combined structure.

Add XML as String

The Add XML as String operation adds the selected source node as a string (data) to the target node. If there are other children (data nodes or element nodes) the selected value will be added as sibling text data.This operation can be used either with Fixed Value or with any of the Select parameters.
Note: Parameters including Expression and XML Structure cannot be used for this operation.

Replace With

The Replace With operation replaces the target element tag with the source element at run time. This operation can be used with either a Fixed Value or with any of the Select parameter types.

Replace Content With

The Replace Content With operation replaces all the content (all child elements) of the target element.Consider the following example:

<element1>example</element1>

The content of the element1 tag, 'example', is replaced with the source element or text as specified in the XPath.

Replace XML as String

The Replace XML as String operation replaces all child nodes of the target with a string. The selected node is added as data node to the target node as text data. This operation can be used with either Fixed Value or with any of the Select parameters.
Note: Parameters such as Expression and XML Structure cannot be used for this operation.

Delete

The Delete operation deletes the target element at run time. You do not need to specify the source element for the Delete operation.
Note: This operation deletes the element itself irrespective of the parameter (Select, Children, First Child, Last Child, Fixed Value, Expression and XML Structure ) used in the assignment.


Related concepts

Pre Assignments
Post Assignments

Related tasks

Creating Assignments

Related reference

Examples of Add
Examples of Add XML as String
Examples of Delete
Examples of Replace Content With
Examples of Replace With
Examples of Replace XML as String
Parameter Types